const {Message} = require('iview')
import Vue from 'vue'
Vue.use(Message)
export const toast = txt => {
  return Message.info({
    content: txt
  })
}

Vue.prototype.$toast = toast